<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #demo{
            width: 500px;
            height: 300px;
            padding: 30px;
            border: 30px solid rgba(108,108,84,0.5);
            background-repeat: no-repeat;
            background-image:url("./img1.jpg");
            background-size: 200px;
            background-origin: padding-box;
            background-clip: content-box;
        }
    </style>
</head>
<body>
    <div id="demo"></div>
</body>
</html>